<?php
/**
 * Created by PhpStorm.
 * User: DD
 * Date: 2016/4/19
 * Time: 0:23
 */

namespace app\admin\services;
use app\common\services\BaseService;

class LoginLogService extends BaseService
{
    public function clearLogs()
    {
        $instance = $this->getModelInstance();
        $instance->where('1=1')->delete();
        return true;
    }
}